<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="./assets/less/unlock.css" rel="stylesheet">

</head>
<body>
    <div id = "foo"></div> 
</body>
<script src="./js/jquery-1.11.0.min.js"></script>
<script src='./assets/js/unlock.js'></script>
<script>
    var $container = $('#foo');
    var aqq = function(){
        alert(1);
    }
    $container.slideToUnlock({
			height : 50,
            width : 200,
            succFunc: aqq()
		}); 
</script>
</html>